using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN MonThiEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: MonThiEntity</para>
	/// <para>Description: ClassMonThiEntity store data of table MonThi</para>
	///</summary>

	[DataContract]
	public partial class MonThiEntity{


		private bool _InternalChangedIsNullMonThi_ID=true;
		private bool _IsNullMonThi_ID=true;
		private bool _InternalChangedIsNullMonHoc_ID=true;
		private bool _IsNullMonHoc_ID=true;
		private bool _InternalChangedIsNullLanThi=true;
		private bool _IsNullLanThi=true;
		private bool _InternalChangedIsNullKyThi_ID=true;
		private bool _IsNullKyThi_ID=true;
		private bool _InternalChangedIsNullNgayThi=true;
		private bool _IsNullNgayThi=true;
		private bool _InternalChangedIsNullTrangThai=true;
		private bool _IsNullTrangThai=true;
		private int _MonThi_ID;
		private int _MonHoc_ID;
		private Byte _LanThi;
		private int _KyThi_ID;
		private DateTime _NgayThi;
		private Byte _TrangThai;
		[DataMember]
		public bool IsNullMonThi_ID{
			get{return _IsNullMonThi_ID;}
			set{if(!_InternalChangedIsNullMonThi_ID)_IsNullMonThi_ID=value;}
		}
		[DataMember]
		public bool IsNullMonHoc_ID{
			get{return _IsNullMonHoc_ID;}
			set{if(!_InternalChangedIsNullMonHoc_ID)_IsNullMonHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullLanThi{
			get{return _IsNullLanThi;}
			set{if(!_InternalChangedIsNullLanThi)_IsNullLanThi=value;}
		}
		[DataMember]
		public bool IsNullKyThi_ID{
			get{return _IsNullKyThi_ID;}
			set{if(!_InternalChangedIsNullKyThi_ID)_IsNullKyThi_ID=value;}
		}
		[DataMember]
		public bool IsNullNgayThi{
			get{return _IsNullNgayThi;}
			set{if(!_InternalChangedIsNullNgayThi)_IsNullNgayThi=value;}
		}
		[DataMember]
		public bool IsNullTrangThai{
			get{return _IsNullTrangThai;}
			set{if(!_InternalChangedIsNullTrangThai)_IsNullTrangThai=value;}
		}
		[DataMember]
		public int MonThi_ID{
			get{return _MonThi_ID;}
			set{
				_MonThi_ID=value;
				if(_MonThi_ID!=null){
					_IsNullMonThi_ID=false;
					_InternalChangedIsNullMonThi_ID=true;
				}
			}
		}
		[DataMember]
		public int MonHoc_ID{
			get{return _MonHoc_ID;}
			set{
				_MonHoc_ID=value;
				if(_MonHoc_ID!=null){
					_IsNullMonHoc_ID=false;
					_InternalChangedIsNullMonHoc_ID=true;
				}
			}
		}
		[DataMember]
		public Byte LanThi{
			get{return _LanThi;}
			set{
				_LanThi=value;
				if(_LanThi!=null){
					_IsNullLanThi=false;
					_InternalChangedIsNullLanThi=true;
				}
			}
		}
		[DataMember]
		public int KyThi_ID{
			get{return _KyThi_ID;}
			set{
				_KyThi_ID=value;
				if(_KyThi_ID!=null){
					_IsNullKyThi_ID=false;
					_InternalChangedIsNullKyThi_ID=true;
				}
			}
		}
		[DataMember]
		public DateTime NgayThi{
			get{return _NgayThi;}
			set{
				_NgayThi=value;
				if(_NgayThi!=null){
					_IsNullNgayThi=false;
					_InternalChangedIsNullNgayThi=true;
				}
			}
		}
		[DataMember]
		public Byte TrangThai{
			get{return _TrangThai;}
			set{
				_TrangThai=value;
				if(_TrangThai!=null){
					_IsNullTrangThai=false;
					_InternalChangedIsNullTrangThai=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END MonThiEntityBase*****************************************/
	/*****************************************************************************************************/
}

